<template>
  <div class="goods-toadd">
    <!-- 面包屑导航 -->
    <el-breadcrumb separator="/">
      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>商品管理</el-breadcrumb-item>
      <el-breadcrumb-item>商品列表</el-breadcrumb-item>
    </el-breadcrumb>
    <!-- 添加用户按钮 -->
    <el-button type="primary" plain @click="addLise">添加商品</el-button>
  </div>
</template>
<script>
export default {
  methods: {
    addLise () {
      this.$router.push({ name: 'toadd' })
    }
  }
}
</script>
